import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class GetDate {
	public static void main(String[] args) {

		String reg = "[a-zA-Z]+\\s+[0-9]{1,2},\\s*[0-9]{4}";
		String str = "好 June 26, 2046";
		Pattern pattern = Pattern.compile(reg);
		Matcher m = pattern.matcher(str);
		boolean result = m.find();
		int i = 0;
		while (result) {
			i++;
			String value = m.group();

			System.out.println(value);
			result = m.find();
		}

	}
}
